﻿<Window x:Class="PROI._3D.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     Title="Proactive Investigator"
    Loaded="WindowLoaded"
    Name="mainWindow" Background="Black" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" d:DesignHeight="604" d:DesignWidth="1300" SizeToContent="WidthAndHeight" WindowStyle="ThreeDBorderWindow" WindowStartupLocation="CenterScreen" WindowState="Normal" HorizontalAlignment="Stretch" MinWidth="900" MinHeight="400">
    <TabControl Background="#E6000000" HorizontalAlignment="Stretch" Margin="0" Name="tabControl1" VerticalAlignment="Stretch" Foreground="White">
        <TabItem Header="Galaxy" Name="tabItem1" Margin="0">
            <Grid Name="GalaxyTabGrid" HorizontalAlignment="Stretch">
                <Grid HorizontalAlignment="Stretch" Name="GalaxyViewGrid" VerticalAlignment="Stretch" OpacityMask="#B4000000" Margin="6,-30,0,0" Background="Black">
                    <TextBox Height="28" HorizontalAlignment="Left" Margin="392,27,0,0" Name="GalaxyStatusBlock" VerticalAlignment="Top" Width="207" AcceptsReturn="True" Background="Black" Foreground="#FF0FE70F" FontWeight="Bold" />

                </Grid>
                <WrapPanel Height="48" HorizontalAlignment="Left" Margin="554,0,0,4" Name="GalaxywrapPanel3" VerticalAlignment="Bottom" Width="257">
                    <DatePicker Height="25" Name="GalaxyStartDatePicker" Width="115" SelectedDateChanged="GalaxyStartDatePicker_SelectedDateChanged" DisplayDate="3/20/2012" />
                    <DatePicker Height="25" Name="GalaxyEndDatePicker" Width="115" DisplayDate="3/21/2012" />
                    <Button Content="All Data" Height="22" Name="GalaxyGetDataBtn" Width="75" Click="GetDataBtn_Click" Tag="galaxy" />
                    <Button Content="ID Data" Height="22" Name="GalaxyGetIdDataBtn" Width="75" Tag="galaxy_id" Click="GetDataBtn_Click" />
                    <TextBox Height="23" Name="GalaxySearchParamBox" Width="103" />
                    <Label Name="GalaxyloadingStatus" Width="160" Foreground="#FF2457A4" />
                </WrapPanel>
                <WrapPanel Height="451" HorizontalAlignment="Right" Name="GalaxywrapPanel1" VerticalAlignment="Top" Width="420" Panel.ZIndex="1" Margin="0,0,37,0">
                </WrapPanel>
                <WrapPanel Height="52" HorizontalAlignment="Left" Margin="6,486,0,-4" Name="GalaxywrapPanel2" VerticalAlignment="Bottom" Width="544">
                    <Button Content="CAM X+" Height="22" Name="GalaxyCamXPlus" Width="49" Click="GalaxyCamXPlus_Click" />
                    <Button Content="CAM Y+" Height="22" Name="GalaxyCamYPlus" Width="49" Click="GalaxyCamYPlus_Click" />
                    <Button Content="CAM Z+" Height="22" Name="GalaxyCamZPlus" Width="49" Click="GalaxyCamZPlus_Click" />
                    <Button Content="EYE X+" Height="22" Name="GalaxyEyeXPlus" Width="49" Click="GalaxyEyeXPlus_Click" />
                    <Button Content="EYE Y+" Height="22" Name="GalaxyEyeYPlus" Width="49" Click="GalaxyEyeYPlus_Click" />
                    <Button Content="EYE Z+" Height="22" Name="GalaxyEyeZPlus" Width="49" Click="GalaxyEyeZPlus_Click" />
                    <Button Content="ROT X+" Height="22" Name="GalaxyRotXPlus" Width="49" Click="GalaxyRotXPlus_Click" />
                    <Button Content="ROT Y+" Height="22" Name="GalaxyRotYPlus" Width="49" Click="GalaxyRotYPlus_Click" />
                    <Button Content="ROT Z+" Height="22" Name="GalaxyRotZPlus" Width="49" Click="GalaxyRotZPlus_Click" />
                    <Button Content="NEAR +" Height="22" Name="GalaxyNearPlus" Width="49" Click="GalaxyNearPlus_Click" />
                    <Button Content="FAR +" Height="22" Name="GalaxyFarPlus" Width="49" Click="GalaxyFarPlus_Click" />
                    <Button Content="CAM X-" Height="22" Name="GalaxyCamXMinus" Width="49" Click="GalaxyCamXMinus_Click" />
                    <Button Content="CAM Y-" Height="22" Name="GalaxyCamYMinus" Width="49" Click="GalaxyCamYMinus_Click" />
                    <Button Content="CAM Z-" Height="22" Name="GalaxyCamZMinus" Width="49" Click="GalaxyCamZMinus_Click" />
                    <Button Content="EYE X-" Height="22" Name="GalaxyEyeXMinus" Width="49" Click="GalaxyEyeXMinus_Click" />
                    <Button Content="EYE Y-" Height="22" Name="GalaxyEyeYMinus" Width="49" Click="GalaxyEyeYMinus_Click" />
                    <Button Content="FLIP Z" Height="22" Name="GalaxyEyeZMinus" Width="49" Click="GalaxyEyeZMinus_Click" />
                    <Button Content="ROT X-" Height="22" Name="GalaxyRotXMinus" Width="49" Click="GalaxyRotXMinus_Click" />
                    <Button Content="ROT Y-" Height="22" Name="GalaxyRotYMinus" Width="49" Click="GalaxyRotYMinus_Click" />
                    <Button Content="ROT Z-" Height="22" Name="GalaxyRotZMinus" Width="49" Click="GalaxyRotZMinus_Click" />
                    <Button Content="NEAR -" Height="22" Name="GalaxyNearMinus" Width="49" Click="GalaxyNearMinus_Click" />
                    <Button Content="FAR -" Height="22" Name="GalaxyFarMinus" Width="49" Click="GalaxyFarMinus_Click" />
                </WrapPanel>
            </Grid>

        </TabItem>
        <TabItem Header="Neighborhood" Name="tabItem2" Margin="0">           
    <Grid Name="grid1" HorizontalAlignment="Stretch">
        <Grid HorizontalAlignment="Stretch" Name="grid2" VerticalAlignment="Stretch" OpacityMask="#B4000000" Margin="0,0,0,-6" Background="Black">
                 
                        <TextBox Height="25" HorizontalAlignment="Left" Margin="392,0,0,0" Name="StatusBlock" VerticalAlignment="Top" Width="214" AcceptsReturn="True" Background="Black" Foreground="#FF0FE70F" FontWeight="Bold" />
 
                </Grid>
        
        <WrapPanel Height="451" HorizontalAlignment="Right" Name="wrapPanel1" VerticalAlignment="Top" Width="420" Panel.ZIndex="1" Margin="0,1,27,0">
        </WrapPanel>
        <WrapPanel Height="48" HorizontalAlignment="Left" Margin="6,0,0,0" Name="wrapPanel2" VerticalAlignment="Bottom" Width="447">
            <Button Content="CAM X+" Height="22" Name="CamXPlus" Width="49" Click="CamXPlus_Click" />
            <Button Content="CAM Y+" Height="22" Name="CamYPlus" Width="49" Click="CamYPlus_Click" />
            <Button Content="CAM Z+" Height="22" Name="CamZPlus" Width="49" Click="CamZPlus_Click" />
            <Button Content="EYE X+" Height="22" Name="EyeXPlus" Width="49" Click="EyeXPlus_Click" />
            <Button Content="B REV" Height="22" Name="EyeYPlus" Width="49" Click="EyeYPlus_Click" />
            <Button Content="E REV" Height="22" Name="EyeZPlus" Width="49" Click="EyeZPlus_Click" />
            <Button Content="ROT X+" Height="22" Name="RotXPlus" Width="49" Click="RotXPlus_Click" />
            <Button Content="ROT Y+" Height="22" Name="RotYPlus" Width="49" Click="RotYPlus_Click" />
            <Button Content="ROT Z+" Height="22" Name="RotZPlus" Width="49" Click="RotZPlus_Click" />
            <Button Content="CAM X-" Height="22" Name="CamXMinus" Width="49" Click="CamXMinus_Click" />
            <Button Content="CAM Y-" Height="22" Name="CamYMinus" Width="49" Click="CamYMinus_Click" />
            <Button Content="CAM Z-" Height="22" Name="CamZMinus" Width="49" Click="CamZMinus_Click" /> 
            <Button Content="EYE X-" Height="22" Name="EyeXMinus" Width="49" Click="EyeXMinus_Click" />
            <Button Content="BEGIN" Height="22" Name="EyeYMinus" Width="49" Click="EyeYMinus_Click" />
            <Button Content="END" Height="22" Name="EyeZMinus" Width="49" Click="EndTravel_Click" />
            <Button Content="ROT X-" Height="22" Name="RotXMinus" Width="49" Click="RotXMinus_Click" />
            <Button Content="ROT Y-" Height="22" Name="RotYMinus" Width="49" Click="RotYMinus_Click" />
            <Button Content="ROT Z-" Height="22" Name="RotZMinus" Width="49" Click="RotZMinus_Click" />
        </WrapPanel>
        <WrapPanel Height="48" HorizontalAlignment="Left" Margin="459,456,0,0" Name="wrapPanel3" VerticalAlignment="Bottom" Width="257">
            <DatePicker Height="25" Name="startDatePicker" Width="115" SelectedDateChanged="startDatePicker_SelectedDateChanged" DisplayDate="3/1/2012" />
            <DatePicker Height="25" Name="endDatePicker" Width="115" DisplayDate="3/2/2012" />
            <Button Content="All Data" Height="22" Name="GetDataBtn" Width="75" Click="GetDataBtn_Click" Tag="neighborhood" />
            <Button Content="ID Data" Height="22" Name="GetIdDataBtn" Width="75" Click="GetIdDataBtn_Click" Tag="hood_id" />
                    <TextBox Height="23" Name="SearchParamBox" Width="103" />
                    <Label Name="loadingStatus" Width="160" Foreground="#FF2457A4" />
                   
                </WrapPanel>

    </Grid>
           
        </TabItem>
        <TabItem Header="Drilldown" Name="tabItem3">
            <Grid Name="drilldownGrid">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="209*" />
                    <ColumnDefinition Width="1081*" />
                </Grid.ColumnDefinitions>
                <StackPanel HorizontalAlignment="Left" Width="156" Grid.Column="1">
                    <Button Height="19" Content="PASTE TO NOTES" Background="#FF5D4A5D" Foreground="#FF3B1DE2" Name="PasteFromStatus" Click="PasteFromStatus_Click" Width="114" Visibility="Collapsed"></Button>
                    <TextBox Name="statusLabel" Foreground="Black" FontSize="9" Focusable="True" Panel.ZIndex="3" Background="White" Width="161" Grid.Column="1" Margin="0" HorizontalAlignment="Left" Height="425" />
                    
                </StackPanel>
                <StackPanel HorizontalAlignment="Left" Width="205">
                    <Label Content="RADIUS -&gt; PROXY" Height="28" Name="label1" Foreground="#FF00D900" MouseDoubleClick="label1_MouseDoubleClick" Tag="radius,proxy" DataContext="{Binding}" />
                    <Label Content="SMTP" Height="28" Name="label2" Foreground="#FF00D900" MouseDoubleClick="label1_MouseDoubleClick" Tag="smtp" />
                    <Label Content="SYSTEM1" Foreground="#FF00D900" Height="28" Name="label3" Tag="sys1" MouseDoubleClick="label3_MouseDoubleClick" />
                    <Label Content="SYSTEM2" Foreground="#FF00D900" Height="28" Name="label4" Tag="sys2" MouseDoubleClick="label3_MouseDoubleClick" />
                    <Label Content="SYSTEM2 TIMERANGE" Foreground="#FF00D900" Height="28" Name="ddlabel5" Tag="sys2_time" MouseDoubleClick="label3_MouseDoubleClick" FlowDirection="LeftToRight" />
                    <Label Content="SYSTEM3" FlowDirection="LeftToRight" Foreground="#FF00D900" Height="28" Name="ddlabel6" Tag="sys3"  MouseDoubleClick="label3_MouseDoubleClick" />
                    <Button Content="Refresh Files" Height="23" Name="RefreshButton" Width="114" Click="RefreshButton_Click" Background="Black" Foreground="Green" />
                    <ListBox Height="186" Name="DrilldownGrid" Background="Black" Foreground="#FF00D900" MouseDoubleClick="DrilldownGrid_MouseDoubleClick" HorizontalAlignment="Stretch" />
                </StackPanel>
                
                <DataGrid AutoGenerateColumns="True" Name="drilldownDataGrid" HorizontalAlignment="Stretch" FontSize="11" Grid.Column="1" Margin="162,19,2,18" />
             
            </Grid>
                
         </TabItem>
        <TabItem Header="Case Notes" Name="tabItem4" IsEnabled="False">
            <Grid Height="493" Name="grid3" Width="1258" HorizontalAlignment="Left" VerticalAlignment="Top">
                <DataGrid AutoGenerateColumns="True" Height="480" HorizontalAlignment="Left" Margin="595,6,0,0" Name="caseDataGrid" VerticalAlignment="Top" Width="657" DataContext="{Binding}" ItemsSource="{Binding}" Background="White" MouseDoubleClick="caseDataGrid_MouseDoubleClick" />
                <TextBox Height="270" HorizontalAlignment="Left" Margin="8,27,0,0" Name="NotesBox" VerticalAlignment="Top" Width="581" AcceptsReturn="True" AcceptsTab="True" Background="#FFE5DFDF" />
                <WrapPanel Height="160" HorizontalAlignment="Left" Margin="8,303,0,0" Name="wrapPanel4" VerticalAlignment="Top" Width="581">
                    <Button Content="Create Case" Height="23" Name="CreateCaseBtn" Width="70" Click="CaseButton_Click" Tag="create" />
                    <Button Content="Take Case" Height="23" Name="TakeCaseBtn" Width="70" Click="CaseButton_Click" Tag="take" />
                    <Button Content="Release Case" Height="23" Name="ReleaseCaseBtn" Width="74" Click="CaseButton_Click" Tag="release" />
                    <Button Content="Update Case" Height="23" Name="button2" Width="70" Click="CaseButton_Click" Tag="update" />
                    <Button Content="Sleep Case" Height="23" Name="button3" Width="70" Click="CaseButton_Click" Tag="sleep" />
                    <Button Content="Escalate Case" Height="23" Name="button4" Width="74" Click="CaseButton_Click" Tag="escalate" />
                    <Button Content="Get Case" Height="23" Name="button1" Tag="select" Width="70" Click="CaseButton_Click" />
                    <Button Content="Your Cases" Height="23" Name="button5" Tag="select2" Width="70" Click="CaseButton_Click" />
                    <TextBox Height="130" Name="WorkflowStatusLabel" Width="568" IsReadOnlyCaretVisible="True" Foreground="Green" TextWrapping="Wrap">
                        <TextBox.BorderBrush>
                            <SolidColorBrush />
                        </TextBox.BorderBrush>
                        <TextBox.Background>
                            <SolidColorBrush />
                        </TextBox.Background>
                    </TextBox>
                </WrapPanel>
                <WrapPanel Height="21" HorizontalAlignment="Left" Margin="0,0,0,0" Name="wrapPanel5" VerticalAlignment="Top" Width="581">
                    <Label Height="29" Name="CaseLabel1" Width="96" Foreground="#FF15E515" />
                    <Label Content="" Height="29" Name="CaseLabel2" Width="96" Foreground="#FF15E515"  />
                </WrapPanel>
            </Grid>

        </TabItem>
           </TabControl>
</Window>
